package net.hn.hnms.biz.project.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "project_file", schema = "xmgl", catalog = "huaneng-manage")
public class ProjectFile extends BaseModel implements Serializable {

    @ApiModelProperty(value = "id")
    @TableField(value = "project_file_id", fill = FieldFill.INSERT)
    @TableId(type = IdType.ASSIGN_UUID)
    private String projectFileId;

    @ApiModelProperty(value = "文件名称")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String projectFileName;

    @ApiModelProperty(value = "文件路径")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String projectFilePath;

    @ApiModelProperty(value = "项目ID")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String projectId;

    @ApiModelProperty(value = "ossId")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String ossId;



}
